<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>关闭窗口</title>
<script type="text/javascript">
function closewindow()
{
    window.close();
}
</script>
</head>

<body>
<input type="button" value="关闭窗口" onClick="closewindow()">
</body>
</html>
